var data=window.sessionStorage.getItem('gotScucces');
data = JSON.parse(data);
var tel = data.tel;

window.onload = function(){
	$('#tel').text(tel);
	$('body').on('click','.goHome',function(){
		app.open('main.html','main',{},window.location.href,document.body.scrollTop);
	});
	
	setShare({
		bdText : '吃货，你的30元美食红包来了！',
		bdDesc:'洋玩易，越吃越上瘾的全球美食平台',
		bdUrl:'http://webapi.52ywy.com/weixin/html/regiRed.html'
	});
}
